//
//  DiscountMoreYHHCollectionViewCell.m
//  AroundTheWorld
//
//  Created by IfelseGo on 16/5/22.
//  Copyright © 2016年 IfelseGo an. All rights reserved.
//

#import "DiscountMoreYHHCollectionViewCell.h"
#define WIDTH self.frame.size.width
#define HEIGHT self.frame.size.height
@implementation DiscountMoreYHHCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self doSometing];
    }
    return self;
}

-(void)doSometing{
    self.contentView.dk_backgroundColorPicker = DKColorPickerWithRGB(0xffffff,0xCFCFCF);
    
     UILabel *black = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT)];
     black.backgroundColor = [UIColor clearColor];
     black.layer.borderWidth = 2;
     black.layer.borderColor = [[UIColor grayColor] CGColor];
     [self.contentView addSubview:black];
    black.layer.masksToBounds = YES;
    black.layer.cornerRadius = 10;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
